﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonsaiScrum.Core.Domain;
using BonsaiScrum.Bus;

namespace BonsaiScrum.Core.Command
{
    public class CreateTask : ICommand
    {
        public int ProjectId { get; private set; }
        public int StoryId { get; private set; }
        public int CreatedBy { get; private set; }
        public string Description { get; private set; }
        public Priority Priority { get; private set; }

        public CreateTask(int projectId, int storyId, string description, Priority priority, int createdBy)
        {
            ProjectId = projectId;
            StoryId = storyId;
            Description = description;
            Priority = priority;
            CreatedBy = createdBy;
        }
    }
}
